package org.t.pro.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈后台管理文章查询封装类〉
 *
 * @author a0000
 * @create 2024/2/5 23:09
 * @since 1.0.0
 */
@Data
public class AdminQueryArticlePojo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     *
     */
    private String articleName;
    /**
     * 文章主题
     */
    private Object articleThemeId;

    private String articleThemeNames;


    private String articleImage;
    /**
     *
     */
    private String author;
    /**
     * 父级文章
     */
    private Integer parentId;
    /**
     * 文章状态0.未发布 1.草稿 2.已发布
     */
    private Integer status;

    /**
     * Y：公开   N：私有
     */
    private String visibility;

    private List<AdminQueryArticlePojo> childrenArticle;


    private String content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
